<template>
    <div class="auth-warp">
        <el-result icon="success" title="成功" subTitle="支付成功，请查看！">
            <template slot="extra">
                <el-button type="primary" plain @click="goBack">返回</el-button>
            </template>
        </el-result>
    </div>
</template>

<script>
    export default {
        name: "orderSuccess",// 支付成功页面
        methods:{
            goBack(){
                this.$router.replace("/shoppingCart")
            }
        }
    }
</script>

<style scoped>
    .auth-warp{
        height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .auth-warp button{
        margin-top: 20px;
    }
</style>
